package com.evil.application.pojo.dto.process.node;

import com.evil.application.pojo.dto.form.ApplicationFormControlRespDTO;
import com.evil.application.pojo.dto.form.control.ControlBaseInfoDTO;
import com.evil.common.application.dto.process.node.setting.NodeControlSettingDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.ArrayList;
import java.util.List;

/**
 * 节点控件返回实体
 *
 * @author liyang
 * @date 2022-08-08 00:00
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class NodeControlRespDTO extends ApplicationFormControlRespDTO {

    /**
     * 节点空配置
     */
    List<NodeControlSettingDTO> nodeControlSettings;

    /**
     * 特殊控件
     */
    List<ControlBaseInfoDTO> specialControls;

    public NodeControlRespDTO() {
        this.nodeControlSettings = new ArrayList<>();
        this.specialControls = new ArrayList<>();
    }
}
